/* reset
-------------------------------------------------- */
body{
    padding-top: 50px;
}
span.glyphicon,
span.fa {
    margin-right: 5px;
}
.navbar .nav > li:hover .dropdown-menu {
    display: block;
}
.row > div {
    margin-top: 20px;
    margin-bottom: 20px;
}
hr{
    margin: 10px 0;
}
.well-sm {
    margin-bottom: 15px;
}
.carousel-indicators {
    bottom: 0;
}
.carousel-control {
    width: 60px;
}
.form-control,
.navbar-toggle,
.breadcrumb,
.dropdown-menu,
.list-group-item,
.nav-tabs > li > a,
.nav-pills > li >a,
.input-group-addon,
.panel,
.alert,
.well,
.btn,
 pre {
    border-radius: 0px !important;
}
.dropdown-menu,
.form-control:focus {
    box-shadow: none;
}
.btn-outline {
    color: #4d90fe;
    min-width: 100px;
    font-weight: bold;
    border: 1px solid transparent;
    background-color: transparent;
    border-color: #4d90fe;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
    color: #fff;
    background-color: #4d90fe;
    border-color: #4d90fe;
}
.btn-outline-inverse{
    color: #b3d4f4;
    border-color: #4d90fe;
}
.btn-outline-inverse:hover {
    color: #2d87e2;
    background-color: #fff;
    border-color: #fff;
}
.navbar {
    margin-bottom: 0;
    border: none;
    min-height: 10px;
    box-shadow:0 1px 0 rgba(0,0,0,0.1);
    background-color: rgba(255,255,255,0.9);
}
.navbar .navbar-brand {
    color: #428bca;
    font-size: 20px;
}
.navbar .navbar-nav li > a {
    color: #4E4E4E;
    padding-left: 20px;
    padding-right: 20px;
}
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-nav > li > a:active {
    background-color: #eee;
}
.navbar .navbar-nav .open .dropdown-menu>li>a:hover,
.navbar .navbar-nav .open .dropdown-menu>li>a:focus,
.navbar .navbar-nav .open .dropdown-menu>li>a:active{
    border-left: 4px solid #2d87e2;
    padding-left: 16px;
}
.navbar img.logo {
    height: 36px;
    margin-top: -16px;
    margin-bottom: -12px;
}
.navbar-nav img {
    width: 33px;
    height: 33px;
    margin-top: -12px;
    margin-bottom: -8px;
}
.nav-tabs>li>a {
    margin: 0;
}
.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a,
.list-group-item:hover,
.list-group-item:focus {
    border-left: 4px solid #2d87e2;
    padding-left: 12px;
}
.nav-pills > li.active > a {
    color: #fff;
    background-color: #2d87e2;
}
.panel-outline {
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 15px;
    border: none;
}
.panel-outline .panel-heading {
    padding: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.panel-outline .panel-title {
    padding: 6px 0;
    font-size: 20px;
}
.panel-outline .panel-body {
    padding: 0;
}
.panel .panel-body img {
    padding: 1px;
    width: 100px;
    height: 100px;
    border: 1px solid #D4D4D4;
}
.list-group-item:hover {
    color: #2d87e2 !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.1);
}
label.active {
    color: #fff;
    background-color: #4d90fe;
}
.pagination {
    margin: 0;
}
.pagination li a {
    padding: 6px 15px;
    border-radius: 0 !important;
}
.pagination li a.active {
    color: #fff;
    border-color:#2d87e2;
    background-color: #2d87e2;
}
.badge {
    padding: 3px 6px;
}
.badge-red{
    background-color: #ff0000;
}
.navbar .dropdown-toggle .badge-red {
    position: absolute;
    top: 1px;
    left: 42px;
}
.time{
    color: #bbb;
    font-size: 10.5px;
    line-height: 20px;
    vertical-align: middle;
}
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}
.inline-block {
    display: inline-block;
    display:inline \9;
    zoom:1;
}

/* header
-------------------------------------------------- */
.header {
    padding: 30px 0;
    margin-bottom: 0;
    background-color: #2d87e2;
    background-image: -webkit-linear-gradient(top, #1b6ec1 0%, #2d87e2 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#1b6ec1), to(#2d87e2));
    background-image:            -o-linear-gradient(top, #1b6ec1 0%, #2d87e2 100%);
    background-image:                 linear-gradient(to bottom, #1b6ec1 0%, #2d87e2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1b6ec1', endColorstr='#2d87e2', GradientType=0);
    background-repeat: repeat-x;
}
.header h1 {
    margin-top: 0;
    color: #fff;
    font-size: 40px;
    max-width: 100%;
}
.header p {
    color: #b3d4f4;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1;
    max-width: 100%;
}
.header a{
    color: #b3d4f4;
}
.header .container {
    position: relative;
    z-index: 2
}
.header:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../images/masthead-pattern.png) repeat center center;
}

/* side
-------------------------------------------------- */
.side .nav > li > .sub > li > a {
    padding-left: 35px;
}
.side .nav > li > .sub > li > a:hover,
.side .nav > li > .sub > li > a:focus {
    padding-left: 31px;
}
.side .panel-body .nav > li > a:hover,
.side .panel-body .nav > li > a:focus,
.side .panel-body .nav > li > a.active {
    border-left: 4px solid #2d87e2;
    background-color: #F5F5F5;
    padding-left: 11px;
}
.hot-no {
    position: relative;
    top: -1px;
    color: #fff;
    margin-right: 8px;
    font-size: 11px;
    padding: 2px 7px;
    background-color: #999999;
}
.hot1 {
    background-color: #fd8c84;
}
.hot2 {
     background-color: #7fd75a;
}
.hot3 {
    background-color: #60c4fd;
}

/* list-box
-------------------------------------------------- */
.list-box h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 20px;
    word-break: break-all;
    overflow:hidden;
}
.list-box .lead {
    max-height: 54px;
    overflow: hidden;
    font-size: 13px;
    margin-bottom: 5px;
    text-align: justify;
    text-justify:inter-ideograph;
}
.list-box img.cover {
    width: 150px;
    height: 100px;
    border:1px solid #eee;
}
.list-box .stats {
    font-size: 12px;
}

/* document
-------------------------------------------------- */
.document .title {
    margin-bottom: 15px;
    text-align: center;
}
.document .title .stats span{
    margin-right: 5px;
}
.document img {
    max-width: 100%;
}
.tags a {
    margin-right: 5px;
}
.pre-next,
.digg {
    margin-top: 10px;
}
.digg .btn {
    border-radius: 19px !important;
    color: #4d90fe;
    font-weight: bold;
    border: 1px solid #4d90fe;
    background-color: transparent;
}
.digg .btn-inverse {
    color: #fff;
    background-color: #4d90fe;
    border-color: #4d90fe;
}

/* 附件下载
-------------------------------------------------- */
.upload-img-box {
    margin-top: 4px;
    font-size: 14px;
}
.upload-img-box a{
    color: #2B85AE;
}
.upload-img-box a:hover{
    text-decoration: none;
}
.upload-img-box .upload-pre-item {
    padding: 1px;
    width: 120px;
    max-height: 120px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: all .3s linear;
}
.upload-img-box .upload-pre-item img {
    vertical-align: top;
}
.upload-img-box .upload-pre-file {
    padding: 0 10px;
    width: 100%;
    height: 35px;
    line-height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px dashed #ccc;
    background-color: #fff;
}
.upload_icon_all {
    width: 15px;
    height: 15px;
    background: url(/Public/Admin/images/attachment.png);
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px
}
.download_info{
    color: gray;
}

/* user-center
-------------------------------------------------- */
/* 头像 */
.upload-img-avatar {
    margin-bottom: 10px;
}
.upload-img-avatar img {
    vertical-align: top;
}
.upload-img-avatar .avatar_preview{
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    padding-bottom:5px;
}
.upload-img-avatar img.avatar {
    width: 200px;
    height: 200px;
    margin-right: 20px;
}
.upload-img-avatar img.avatar100 {
    width: 100px;
    height: 100px;
}
.upload-img-avatar img.avatar64 {
    width: 64px;
    height: 64px;
}

/* uploadify上传
-------------------------------------------------- */
.uploadify,
.uploadify-queue{
    display: inline-block;
}
.uploadify-button {
    position: relative;
    text-align: center;
    color: #4d90fe;
    font-weight: bold;
    min-width: 80px;
    border: 1px solid transparent;
    background-color: transparent;
    border-color: #4d90fe;
    cursor: pointer;
}
.uploadify-button:hover {
    color: #fff;
    background-color: #4d90fe;
    border-color: #4d90fe;
}
.uploadify-queue-item {
    position: absolute;
    margin-top: 4px;
    padding: 15px;
    width: 470px;
    border: 1px solid #ccc;
    background-color: #fff;
}
.uploadify-queue-item .cancel {
    float: right;
}
.uploadify-queue-item .cancel a,
.uploadify-queue-item .cancel a:hover {
    font-family: Consolas;
    color: #404040;
    text-decoration: none;
    border-bottom: 0 none;
}
.uploadify-queue-item .fileName {
    color: #2D7200;
}
.uploadify-error {
    background-color: #FDE5DD !important;
}
.uploadify-queue-item.completed {
    background-color: #E5E5E5;
}
.uploadify-progress {
    background-color: #E5E5E5;
    margin-top: 10px;
    width: 100%;
}
.uploadify-progress-bar {
    background-color: #0099FF;
    height: 3px;
    width: 1px;
}

/* user-space
-------------------------------------------------- */
.user-space-side .panel {
    text-align: center;
}
.user-space-side .panel .panel-heading .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%
}
.user-space-side .stats {
    width: auto;
    margin:0 auto;
    padding-top: 20px;
}
.user-space-side .stats a {
    width: 50%;
    float: left;
    font-size: 14px;
    padding: 10px 30px;
}
.user-space-side .stats a:first-child {
    border-right: 1px solid #ddd;
}
.user-space-side .stats span {
    display: block;
}

/* tweet
-------------------------------------------------- */
.tweets .well{
    background-color: #FDFDFD;
    box-shadow: none;
}
.tweets .well .user a.username {
    max-width: 178px;
    font-size: 16px;
    font-weight: bold;
    margin-left: 5px;
    vertical-align: middle;
}
.tweets .well .user .time {
    line-height: 30px;
}
.tweets .well .user a:hover,
.tweets .foot a:hover {
    text-decoration: none;
}
.tweets .well .user .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%
}
.tweets .content {
    margin: 5px 0;
    text-align: justify;
    text-justify: inter-ideograph;
}
.tweets .content img {
    max-width: 100%;
    max-height: 600px;
    margin-top: 10px;
}
.tweets .stats {
    overflow: hidden;
    white-space:nowrap;
}
.tweets .stats a {
    color: #4d90fe;
    font-size: 14px;
    margin-left: 10px;
}
.tweets .stats a:first-child {
    margin-left: 0px;
}

/* comment
-------------------------------------------------- */
.comment-box h1 {
    font-size: 20px;
    color: #1b6ec1;
}
.comment-box .comment-list .media {
    margin:0;
    padding: 10px 0;
    border-bottom: 1px solid #f4f2ef;
}
.comment-box .comment-list .media a img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.comment-box .comment-list .media .media-heading a.username {
    color: #1b6ec1;
    font-weight: bold;
}
.comment-box .comment {
    margin: 10px 0;
}
.comment-box .comment textarea{
    height: 100px;
}
.comment-box .reply {
    margin-left: 10px;
    font-size: 12px;
}

/* footer
-------------------------------------------------- */
.footer {
    text-align: left;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    background-color: #F5F5F5;
}
.footer p {
    margin-bottom: 0;
    color: #777;
}
.footer p a{
    margin-right: 10px;
}
.footer p .icp {
    color: #999;
    font-size: 12px;
    margin-left: 15px;
}
